#include <iostream>
using namespace std;

int T, n, x, y, k;

int main(){
    cin >> T;
    while(T--){
        cin >> n >> x >> y >> k;
        double t1 = 1.0 * k / x;
        double t2 = 1.0 * (n-k+1) / y ;
        if(t1 < t2) cout << "Win" << endl;
        else if(t1 > t2) cout << "Lose" << endl;
        else cout << "Tie" << endl;
    }
    return 0;
}